<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HRutasBuscarItem.aspx.cs" MasterPageFile="~/MasterPage.master" Inherits="HRutasBuscarItem" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Src="../UserControls/Fecha.ascx" TagName="Fecha" TagPrefix="uc1" %>

<asp:Content ID="Content1"  ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="text-align: left;">
        <asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager>
        <table class="tablaForm" style="width: 100%" border="0">
            <tr>
                <td class="tdLogistica" colspan="4">
                    Buscar Item de Hoja de Ruta</td>
            </tr>
            <tr>
                <td class="tdLiteral" colspan="4" style="text-align: center">
                    <asp:Label ID="lblAccion" runat="server" CssClass="lblAccion">Acci&oacute;n</asp:Label>&nbsp;</td>
            </tr>
             <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label13" runat="server" CssClass="label" Text="Cod. Cliente:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtIdCliente" runat="server"
                        Width="70px"></asp:TextBox>&nbsp;<asp:Button ID="btnBuscarCliente" runat="server"
                            OnClick="btnBuscarCliente_Click" TabIndex="2" Text="..." /></td>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label14" runat="server" CssClass="label" Text="Remitente:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtCliente" runat="server" Columns="30" MaxLength="30"></asp:TextBox></td>
            </tr>
             <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label5" runat="server" CssClass="label" Text="Nro. Remito:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtRemitoDet" runat="server" Columns="30" MaxLength="30"></asp:TextBox></td>
                <td class="tdLiteral" colspan="2" style="text-align: left">
                    <asp:Button ID="btnBuscar" runat="server" CssClass="Boton" Text="Buscar" Width="75px" OnClick="btnBuscar_Click" /></td>
            </tr>
            <tr>
                <td class="tdLiteral" colspan="4" style="font-weight: bold; text-align: center">
                    Datos del Remito</td>
            </tr>
             <tr>
                <td class="tdLiteral" style="width: 20%; text-align: right">
                    <asp:Label ID="Label1" runat="server" CssClass="label" Text="Planilla Nro.:"></asp:Label></td>
                <td class="tdForm" style="width: 30px; text-align: left">
                    <asp:TextBox ID="txtIdHRuta" runat="server" Columns="9" MaxLength="9" Width="65px" ReadOnly="True"></asp:TextBox>
                    </td>
                <td class="tdLiteral" style="width: 20%; text-align: right">
                    <asp:Label ID="lblDestino" runat="server" CssClass="label" Text="Destino:"></asp:Label></td>
                <td class="tdForm" style="width: 30px; text-align: left">
                    <asp:TextBox ID="txtDestino" runat="server" Columns="30" MaxLength="30"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label2" runat="server" CssClass="label" Text="Destinatario:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtDestinatario" runat="server" CssClass="cuadrotxt100" MaxLength="50" Width="80%"></asp:TextBox></td>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label15" runat="server" CssClass="label" Text="Tipo de Entrega:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtTipoEntrega" runat="server" Columns="15" MaxLength="15"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="lblTe1" runat="server" CssClass="label" Text="Bultos:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtBultosDet" runat="server" MaxLength="7" Columns="7"></asp:TextBox></td>
                <td class="tdLiteral" style="text-align: right;">
                    <asp:Label ID="Label3" runat="server" CssClass="label" Text="Embalaje:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtEmbalaje" runat="server" Columns="10" MaxLength="10" Width="60px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label9" runat="server" CssClass="label" Text="Kilos:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtKilosDet" runat="server" Columns="10" MaxLength="10"></asp:TextBox></td>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label10" runat="server" CssClass="label" Text="Nro. Item:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtItem" runat="server" Columns="3" MaxLength="3"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label11" runat="server" CssClass="label" Text="Forma de Pago:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtCobro" runat="server" Columns="10" MaxLength="10" Width="60px"></asp:TextBox></td>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label12" runat="server" CssClass="label" Text="Por Cobrar:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtPorCobrarDet" runat="server" Columns="10" MaxLength="10"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: center; font-weight: bold;" colspan="4">
                    Estado</td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label16" runat="server" CssClass="label" Text="Hoja de Ruta:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:Label ID="lblEHojaV" runat="server" CssClass="lblAccion" Font-Bold="False">Cerrada</asp:Label>
                    <asp:Label ID="lblEHojaR" runat="server" CssClass="lblRojo" Font-Bold="False">Activa</asp:Label></td>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label17" runat="server" CssClass="label" Text="Fecha:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtFecha" runat="server" CssClass="cuadrotxt" Width="75px" ReadOnly="True"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label4" runat="server" CssClass="label" Text="Entregado:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:Label ID="lblEEntregarV" runat="server" CssClass="lblAccion" Font-Bold="False"></asp:Label><asp:Label
                        ID="lblEEntregarR" runat="server" CssClass="lblRojo" Font-Bold="False"></asp:Label></td>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label6" runat="server" CssClass="label" Text="Imputado:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:Label ID="lblEImputarV" runat="server" CssClass="lblAccion" Font-Bold="False"></asp:Label><asp:Label
                        ID="lblEImputarR" runat="server" CssClass="lblRojo" Font-Bold="False"></asp:Label></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label7" runat="server" CssClass="label" Text="Cod. Remito:"></asp:Label></td>
                <td class="tdForm" style="text-align: left">
                    <asp:TextBox ID="txtIdRemito" runat="server" CssClass="cuadrotxt"
                        Width="100px" ReadOnly="True">0</asp:TextBox></td>
                <td class="tdLiteral" style="text-align: right">
                    <asp:Label ID="Label8" runat="server" CssClass="label" Text="Cod. Venta:"></asp:Label></td>
                <td class="tdForm" style="text-align: left;">
                    <asp:TextBox ID="txtIdVentas" runat="server" CssClass="cuadrotxt" ReadOnly="True"
                        Width="100px">0</asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdBotones" colspan="4">
                    <asp:Button ID="btnCancelar" runat="server" CssClass="Boton" Text="Cancelar" Width="75px" OnClick="btnCancelar_Click" />&nbsp;&nbsp;
                    </td>
            </tr>
        <tr id="trDetalle2" runat="server">
            <td class="tdForm" colspan="4" style="width: 100%; text-align: center">
                &nbsp;</td>
        </tr>
        </table>
    </div>
    <asp:Panel ID="pnlMensaje" runat="server" CssClass="tdBotones" Style="display: none"
        Width="233px">
        <div style="background-image: none; background-color: transparent; text-align: center">
            <asp:Label ID="lblMensaje" runat="server" Text=""></asp:Label>
            <br />
            <br />
            <asp:Button ID="btnMensaje" runat="server" Text="OK" Width="64px" />
        </div>
    </asp:Panel>
    <table id="tblMensaje" runat="server" border="0" style="width: 0px; height: 0px">
        <tr>
            <td style="width: 100px; height: 18px">
                <asp:Button ID="btnMalMensaje" runat="server" Height="0px" Text="Button" Width="0px" />
            </td>
        </tr>
    </table>
    <cc1:ModalPopupExtender ID="mpeMensaje" runat="server" BackgroundCssClass="modalBackground"
        DropShadow="true" OkControlID="btnMensaje" PopupControlID="pnlMensaje" TargetControlID="btnMalMensaje">
    </cc1:ModalPopupExtender>  
    <asp:HiddenField ID="hdnHoja" runat="server" />
    <asp:HiddenField ID="hdnPagina" runat="server" /><asp:HiddenField ID="hdnOrigen" runat="server" />
</asp:Content>
    
